import {
  editBasicRecord
} from '../../api/system'
import {

} from '../motations-type'

export default {
  state: {

  },
  getters: {
  },
  mutations: {

  },
  actions: {
    async editBasicData ({ commit, rootState }, playload) {
      let data = {}
      if (Object.keys(playload).length > 0) {
        data = playload
      }
      const resp = await editBasicRecord(data)
      return resp
    }
  }
}
